#include "initend.h"
#include "recovery.h"
#include "lp_defs.h"

void initAction(FILE * fl)
{
 yyin=fl;
 yylloc.first_line=1;
 yylloc.first_column=1;
 yylloc.last_line=1;
 yylloc.last_column=1;
 lexerstate=LST_NORMAL;
 parse_error=false;
}

void errorAction()
{
    collect_strings();
	collect_nodes();	
    parse_error=true;
}

void endAction()
{
	clear_string_collector();
	clear_node_collector();
}